#!/bin/zsh
# -*-coding: latin-1;-*-

##########################################################
#
# title:     colors config file
#
# filename:  /etc/zsh/colors
#
# author(s): Alessandro Molari (mola89.molarulez.com),
#            Luca Molari
#
# license:   This file is licensed under the GPLv2
#            For more informations read:
#            http://www.gnu.org/licenses/gpl-2.0.txt
#
# thanks to: zsh team (www.zsh.org)
#            grml team (grml.org)
#            Michael Prokop (mika@grml.org)
#
##########################################################



##         rgb hex codes

typeset -A _COLRGB
_COLRGB=(black "#101010" darkgrey "#434343" darkred "#812935" red "#CB4053" darkgreen "#358129" green "#53CB40" darkyellow "#817529" yellow "#CBB940" darkblue "#293581" blue "#4053CB" darkmagenta "#812961" magenta "#CB4098" darkcyan "#298175" cyan "#40CBB9" lightgrey "#B3B3B3" white "#E6E6E6")
export _COLRGB

## end of: rgb hex codes


##         rgb escape codes

typeset -A _FGCOLESC
typeset -A _BGCOLESC
_FGCOLESC=(black "\e[0;30m" darkgrey "\e[1;30m" darkred "\e[0;31m" red "\e[1;31m" darkgreen "\e[0;32m" green "\e[1;32m" darkyellow "\e[0;33m" yellow "\e[1;33m" darkblue "\e[0;34m" blue "\e[1;34m" darkmagenta "\e[0;35m" magenta "\e[1;35m" darkcyan "\e[0;36m" cyan "\e[1;36m" lightgrey "\e[0;37m" white "\e[1;37m")
_BGCOLESC=(black "\e[0;40m" darkgrey "\e[1;40m" darkred "\e[0;41m" red "\e[1;41m" darkgreen "\e[0;42m" green "\e[1;42m" darkyellow "\e[0;43m" yellow "\e[1;43m" darkblue "\e[0;44m" blue "\e[1;44m" darkmagenta "\e[0;45m" magenta "\e[1;45m" darkcyan "\e[0;46m" cyan "\e[1;46m" lightgrey "\e[0;47m" white "\e[1;47m")
_RSTCOLESC="\e[0m"
export _FGCOLESC
export _BGCOLESC
export _RSTCOLESC

## end of: rgb escape codes


##         less colors

export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'

## end of: less colors


##         ls colors

# color setup for ls
eval $(dircolors -b)

## end of: ls colors

